package cn.itsource.util;

import java.util.ArrayList;
import java.util.List;

public class AjaxResult {
    private boolean success =true;
    private String msg;
    private Object resObj ;

    public Object getResObj() {
        return resObj;
    }

    public AjaxResult setResObj(Object resObj) {
        this.resObj = resObj;
        return this;
    }

    public AjaxResult() {
    }

    public static AjaxResult me(){
        return new AjaxResult();
    }

    public boolean isSuccess() {
        return success;
    }

    public AjaxResult setSuccess(boolean success) {
        this.success = success;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public AjaxResult setMsg(String msg) {
        this.msg = msg;
        return this;
    }
}
